package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog y = new Dog("小颜",22,"黄色");
        y.eat();
        y.lookHome();
        y.drink();
        Chick j = new Chick("小俊",22,"黄色");
        j.eat();
        j.drink();
        j.layEggs();
        Fish x = new Fish("小旭",22,"黄色");
        x.eat();
        x.drink();




    }
}
